import request from '@/utils/request'

// 查询ID-09 -22 药物受体列表
export function listTdmYaoWuShouTi(query) {
  return request({
    url: '/tdmdata/TdmYaoWuShouTiBlood/list',
    method: 'get',
    params: query
  })
}

// 查询ID-09 -22 药物受体详细
export function getTdmYaoWuShouTi(id) {
  return request({
    url: '/tdmdata/TdmYaoWuShouTiBlood/' + id,
    method: 'get'
  })
}

// 新增ID-09 -22 药物受体
export function addTdmYaoWuShouTi(data) {
  return request({
    url: '/tdmdata/TdmYaoWuShouTiBlood',
    method: 'post',
    data: data
  })
}

// 修改ID-09 -22 药物受体
export function updateTdmYaoWuShouTi(data) {
  return request({
    url: '/tdmdata/TdmYaoWuShouTiBlood',
    method: 'put',
    data: data
  })
}

// 删除ID-09 -22 药物受体
export function delTdmYaoWuShouTi(id) {
  return request({
    url: '/tdmdata/TdmYaoWuShouTiBlood/' + id,
    method: 'delete'
  })
}
// 审核
export function to_examine(id,shenHe,pinZhong) {
  const data = {id, shenHe,pinZhong}
  return request({
    url: '/admin/examine',
    method: 'put',
    data:data
  })
}
